Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspace completion #5714

Merged
merged 21 commits into from
Feb 18, 2025
Merged

Workspace completion #5714

merged 21 commits into from
Feb 18, 2025

Conversation

STetsing
Copy link
Collaborator

@STetsing STetsing commented Jan 29, 2025

The user workspace is indexed in a regular time period. More context file is used for creating suggestions

For providing more From now on:
- Local file imports are resolved and added as context
- Relevant files on the workspace level are used as context to provide accurate suggestions

@STetsing STetsing added the WIP label Jan 29, 2025
Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 24c93fd
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/67b4342900611200081e5e41
😎 Deploy Preview https://deploy-preview-5714--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

});

// listen for file changes
this.props.on('fileManager', 'fileRemoved', (path) => { this.indexed.isIndexed = false; });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you already have this line 54

async getContextFiles(prompt) {
try {
if (!this.indexed.isIndexed) {
this.indexWorkspace();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need await here?

);
};

export default DynamicButtons;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this used?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That slipped in from other work (adding context in chat)

package.json Outdated
@@ -153,6 +153,7 @@
"express-ws": "^5.0.2",
"file-path-filter": "^3.0.2",
"file-saver": "^2.0.5",
"flexsearch": "^0.7.43",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need that dependency?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually no, these are the bunch of alternative I tried out

@STetsing STetsing removed the WIP label Feb 17, 2025
@Aniket-Engg Aniket-Engg merged commit c211ce3 into master Feb 18, 2025
33 of 34 checks passed
@Aniket-Engg Aniket-Engg deleted the workspace_completion branch February 18, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants